package com.loriot.common.single_number_iii_260;

/**
 * @Title: Main
 * @Package: com.loriot.common.single_number_136
 * @Description:
 * @Author: zzy boy
 * @Date: 2025/10/31 9:46
 * @Version: 0.0.1-alpha
 */

public class Main {
    class Solution {
        public int singleNumber(int[] nums) {
            int rst = 0;
            for(int item:nums){
                rst^=item;
            }
            return rst;
        }
    }
}
